package Cars.Controllers;

import Cars.Models.Bus;

public class BusController {
    public static void CreateBusType(Bus Value, int ValueType, float CarWords) throws Exception {
        try {
            Value.setType(ValueType);
            Value.setPrice(CarWords);
        } catch (Exception e) {
            throw new Exception("Choice.CreateType Error");
        }
    }
}
